package com.lysj.merchant.desk.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.persistence.Column;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @ Author ：drj.
 * @ Date  ：Created in 16:38 2019/3/11
 * @ Description:
 **/
@Data
public class DeskVo {

    private String deskId;
    private String deskName; //餐桌编号
    private String deskRoomId;//餐桌位置id
    private String deskRoomName;//餐桌位置名称
    private String deskTypeId;//餐桌类型id
    private String deskTypeName;//餐桌类型名称
    private Integer minAmount;//最少人数
    private Integer maxAmount;//最多人数
    private BigDecimal minMoney;//最低消费
    private Integer status;//餐桌状态
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") //将时间搓变为date
    private Date createTime; //创建时间
    private Integer cusNumber;//用餐人数


    public DeskVo() {
    }

    public DeskVo(String deskId, String deskName, String deskRoomId, String deskRoomName, String deskTypeId, String deskTypeName, Integer minAmount, Integer maxAmount, BigDecimal minMoney, Integer status, Date createTime, Integer cusNumber) {
        this.deskId = deskId;
        this.deskName = deskName;
        this.deskRoomId = deskRoomId;
        this.deskRoomName = deskRoomName;
        this.deskTypeId = deskTypeId;
        this.deskTypeName = deskTypeName;
        this.minAmount = minAmount;
        this.maxAmount = maxAmount;
        this.minMoney = minMoney;
        this.status = status;
        this.createTime = createTime;
        this.cusNumber = cusNumber;
    }
}
